-
Notifications
You must be signed in to change notification settings - Fork 0
WASI OTel Metrics #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WASI OTel Metrics #11
Conversation
Signed-off-by: Andrew Steurer <[email protected]>
Signed-off-by: Andrew Steurer <[email protected]>
Signed-off-by: Andrew Steurer <[email protected]>
Signed-off-by: Andrew Steurer <[email protected]>
Signed-off-by: Andrew Steurer <[email protected]>
|
I think this PR should be focused on |
Signed-off-by: Andrew Steurer <[email protected]>
crates/factor-otel/src/host.rs
Outdated
| Ok(Err("Shutdown has already been invoked".to_string())) | ||
| } | ||
| OTelSdkError::InternalFailure(e) => Ok(Err("Internal failure: ".to_string() + &e)), | ||
| OTelSdkError::Timeout(d) => Ok(Err(format!( | ||
| "Operation timed out after {} seconds", | ||
| d.as_secs() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably fine for now, but we'll need to think about the errors we expose to the guest. This strikes me as too much detail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just pushed some changes. Is this closer to what you have in mind?
Signed-off-by: Andrew Steurer <[email protected]>
calebschoepp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Sick. I don't have permission to merge. Do you mind? |
This is the host implementation of
wasi-otel